<!--
 * @Author: C.
 * @Date: 2021-06-18 10:05:19
 * @LastEditTime: 2021-06-18 10:23:39
 * @Description: file content
-->
<template>
  <div>
    <JvOperationList :btnList="btnList"
                     max="4"
                     @confirm="opConfirm"
                     style="margin-bottom:10px" />
    <JvOperationList :btnList="btnList"
                     max="9"
                     @confirm="opConfirm" />
  </div>
</template>

<script>
import JvOperationList from '../../../src/Jv_cpn/JvOperationList'
export default {
  components: {
    JvOperationList,
  },
  data () {
    return {
      btnList: [{
        name: '新增',
        disabled: false
      }, {
        name: '删除',
        disabled: true
      }, {
        name: '明细查询',
        disabled: false
      }, {
        name: '收款查询',
        disabled: false
      }, {
        name: '导出',
        disabled: false
      }, {
        name: '打印预览',
        disabled: false
      }, {
        name: '快速打印',
        disabled: false
      }]
    }
  },
  methods: {
    opConfirm (e) {
      this.$message({
        message: e.name,
        type: 'success'
      });
    },
  },
}
</script>

<style lang="scss">
</style>